package wn.tcpip.socket.netty.business.factory;

import wn.tcpip.socket.util.ProtocolUtil;
import wn.tcpip.socket.netty.model.GPSBackRequest;

/**
 * Created by zhangqin on 2017/4/19.
 */
public class ResoverAbs implements ResoverI {

    @Override
    public String getResponse(GPSBackRequest request) {
        return "";
    }

    public String makeDefaultResponse(GPSBackRequest request){
        //服务端记录请求返回固定结果
        String response = ProtocolUtil.buildResponseString(request.getXieyiHao(), request.getXulieHao());
        return response;
    }

}
